package OoDay04;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        Aoo aoo = new Aoo(){};
        bOO bOO = new bOO() {
            @Override
            void show() {
                System.out.println("showwohs");
            }
        };
        Coo coo = new Coo() {
            @Override
            public void hello() {
                System.out.println("Hello World");
            }
        };
        bOO.show();
        coo.hello();
    }
}
abstract class bOO{
        abstract void show();
}

interface Coo{
    void hello();
}

abstract class Aoo{

}
